package com.ai.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * <p>
 * 文件上传
 * </p>
 *
 * @author MBP Generator
 * @since 2025-06-03
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("sys_files")
public class SysFilesEntity extends Model {

    private static final long serialVersionUID = 1L;

    @TableId("id")
    private String id;

    /**
     * URL地址
     */
    @TableField("url")
    private String url;

    /**
     * 创建时间
     */
    @TableField("create_date")
    private Date createDate;

    /**
     * 文件名称
     */
    @TableField("file_name")
    private String fileName;

    @TableField("file_path")
    private String filePath;


}
